const path = require('path')
module.exports = {
  plugins: [
    ['./vea-plugin-electron/index.js']
  ],
  alias: {
    '@': path.resolve(__dirname, './src/'),
    'vue$': 'vue/dist/vue.esm.js'
  },
  eslintLoaderOptions: {
    emitError: true,
    eslintPath: require.resolve('eslint'),
    formatter: require.resolve('eslint-friendly-formatter')
  },
  // deployGitPath: 'git@gitee.com:sdyituo/omsorderfrontendpackaging.git',
  env: {
    local: {
      defined: {
        TITLE: 'OMS 系统',
        SUB_TITLE: 'Hi,欢迎使用优鲜供应链OMS运营管理系统 打造食材生态圈，让每位参与者获得幸福和乐趣！',
        GZL_URL: 'http://localhost:1001',
        YC_URL: 'http://devnewmall.91youxian.com/v2'
      }
    },
    dev: {
      defined: {
        TITLE: '金融行业安防设施行政许可服务平台',
        SUB_TITLE: '共建智慧警务，实现金融服务事项“零跑腿”。',
        GZL_URL: 'http://150.138.116.142:1001',
        YC_URL: 'http://devnewmall.91youxian.com/v2'
      }
    },
    master: {
      defined: {

      }
    }
  }
}
